import React from 'react';
import { observer } from 'mobx-react';
import { WeaDateGroup } from 'ecCom';

@observer
export default class DateGroupNew extends React.Component<any, any>{

    onChange = (v) => {
        const {onChange,fieldid, isChild} = this.props;
        onChange(fieldid,v,isChild);
    }

    render() {
        return <WeaDateGroup 
            {...this.props}
            onChange={this.onChange}
        ></WeaDateGroup>
    }
}